<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <button @click="isCreate = !isCreate">clickMe</button>
        <div v-if="isCreate">动态创建与动态删除-111111</div>
        <div v-else>动态创建与动态删除-222222</div>
    </div>

    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                isCreate: true
            }
        })
    </script>
</body>
</html>